package com.medicine.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.medicine.sys.entity.Menu;
import com.medicine.sys.mapper.MenuMapper;
import com.medicine.sys.param.MenuParam;
import org.springframework.stereotype.Service;

@Service
public class MenuService extends ServiceImpl<MenuMapper, Menu> {

    public Page<Menu> selectList(MenuParam menuParam){

        return null;
    }

    public void install(Menu menu){

        saveOrUpdate(menu);
    }

    public Menu getId(String id){
        return getById(id);
    }
}
